/*
 * @Author: GuitarXiaohe && 2205227953@qq.com
 * @Date: 2024-01-15 14:10:28
 * @LastEditors: GuitarXiaohe && 2205227953@qq.com
 * @LastEditTime: 2024-01-15 14:54:06
 * @FilePath: /umi/src/utils/errorCode.ts
 * @Description: 
 * QQ:2205227953,邮箱:2205227953@qq.com
 * Copyright (c) 2024 by GuitarXiaohe, All Rights Reserved. 
 */

interface errType{
'401':string |number 
'403':string |number 
'404':string |number 
'default':string |number ,
}

const errorCode =<errType | any>{
  '401': '认证失败，无法访问系统资源',
  '403': '当前操作没有权限',
  '404': '访问资源不存在',
  'default': '系统未知错误，请反馈给管理员',
}

export default errorCode
